From 8b00d023b0335783dc459a738a1b1e9c2be9cacc Mon Sep 17 00:00:00 2001 From: Eric Fahlgren Date: Sun, 9 Mar 2025 09:24:08 -0700 Subject: [PATCH] luci-app-attendedsysupgrade: show upcoming versions when available Do not hide upcoming versions behind the 'advanced_mode' setting, always show them. Fixes: https://github.com/openwrt/asu/issues/1202 Signed-off-by: Eric Fahlgren --- .../resources/view/attendedsysupgrade/overview.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js index 145d75faf0..c136e8f96b 100644 --- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js +++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js @@ -501,11 +501,6 @@ return view.extend({ break; } - // skip branch upgrades outside the advanced mode - if (branch != remote_branch && advanced_mode == 0) { - continue; - } - candidates.unshift([remote_version, null]); // don't offer branches older than the current -- 2.30.2